<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="format-detection" content="email=no"/>
    <title>推荐好友</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/normalize.css"/>
</head>
<body>

	<div class="topbanner"></div>
	<div class="user_friendsData">
		<h1>韩梅梅，您目前：</h1>
		<div class="flex friendsDataBox">
			<div class="flex-auto">
				<span class="friendsData_num"><strong>10</strong>人</span>
				<span>已推荐好友</span>
			</div>
			<div class="flex-auto">
				<span class="friendsData_num"><strong>3</strong>张</span>
				<span>获得优惠券</span>
			</div>
		</div>
	</div>
	<div class="recommend_floor">
		<ul>
			<li><i class="icon_floorNum">1</i>点击<em>“立即推荐”</em>按钮分享给您的好友</li>
			<li><i class="icon_floorNum">2</i>好友注册成功，您即可获得<em>5</em>元优惠券</li>
			<li><i class="icon_floorNum">3</i>好友认证成功，您即可获得<em>10</em>元优惠券</li>
			<li><i class="icon_floorNum">4</i>好友首次借款，您即可获得<em>30</em>元优惠券</li>
		</ul>
	</div>
	<a href="/" class="recommend_now">立即推荐</a>


<script src="__PUBLIC__/js/zepto.js"></script>
<script type="text/javascript">

	(function () {
	    //设置页面的rem大小
	    document.addEventListener('DOMContentLoaded', function () {
	        var html = document.documentElement;
	        var windowWidth = html.clientWidth;
	        html.style.fontSize = windowWidth /7.5 + 'px';
	    }, false);
	    window.onresize = function(){
	        var html = document.documentElement;
	        var windowWidth = html.clientWidth;
	        html.style.fontSize = windowWidth /7.5 + 'px';
	    };
	})();
	//==============获取url中的参数
	function getUrlParam(name) {
	    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
	    var r = window.location.search.substr(1).match(reg);  //匹配目标参数
	    // if (r != null) return r[2];
	    if (r != null) return decodeURI(r[2]);
	    return null; //返回参数值
	}

</script>
</body>
</html>